<?php
//$this->session->set_userdata('adminid','1');
//$this->session->unset_userdata('adminid');

if ($this->session->userdata('adminid')) {
    $adminid = $this->session->userdata('adminid');
?>
    <div id="sidebar" align="left">
        <div id="titre_sidebar">ADMIN</div>
        <div align="left">
            <ul>
                <li><a href="<?php echo site_url('admin/add_admin') ?>">Ajouter nouveau admins</a></li>
                <li><a href="<?php echo site_url('admin/list_admin') ?>">La liste des admins</a></li>
            </ul>
        </div>
        <div id="titre_sidebar">ABOUT US</div>
        <div align="left">
            <ul>
                <li><a href="<?php echo site_url('text/list_text/1') ?>">Firm profile</a></li>
                <li><a href="<?php echo site_url('text/list_text/2') ?>">Why AM|Capital&Co</a></li>
            </ul>
        </div>
        <div id="titre_sidebar">OUR REFERENCES</div>
        <div align="left">
            <ul>
                <li><a href="<?php echo site_url('references/add_references') ?>">Ajouter nouveau reference</a></li>
                <li><a href="<?php echo site_url('references/list_references') ?>">La liste des reference</a></li>
            </ul>
        </div>
        <div id="titre_sidebar">OTHER TEXT</div>
        <div align="left">
            <ul>
                <li><a href="<?php echo site_url('text/list_text/3') ?>">Our services</a></li>
                <li><a href="<?php echo site_url('text/list_text/4') ?>">Our team</a></li>
                <li><a href="<?php echo site_url('text/list_text/5') ?>">Principal Investment</a></li>
                <li><a href="<?php echo site_url('text/list_text/6') ?>">Office</a></li>
                <li><a href="<?php echo site_url('text/list_text/7') ?>">Recruitments</a></li>
                <li><a href="<?php echo site_url('text/list_text/8') ?>">Pro bono</a></li>
        </ul>
    </div>
</div>
<?php }?>
